from PIL import Image

file = "man1.jpg"
img = Image.open(file)
size = 128, 128
img.thumbnail(size)
img.show()
